package com.ctshk.rpc.bus.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import com.ctshk.common.model.IBaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 巴士票api初始化设置表
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-02-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_bus_initialization_settings")
@ApiModel(value="BusInitializationSettings对象", description="巴士票api初始化设置表")
public class BusInitializationSettings extends BaseEntity implements IBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "打包状态（1：允许打包 2：不允许打包 3：只限打包）")
    private Integer packStatus;

    @ApiModelProperty(value = "价格类型（1：加数值  2：百分比）")
    private Integer priceType;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @TableLogic
    @ApiModelProperty(value = "删除标识(0:未删除 1：已删除)")
    private Integer isDeleted;
    
    @ApiModelProperty("负责人ID")
    private Long chargePersonId;
    
    @ApiModelProperty("负责人姓名")
    private String chargePersonName;
}
